package com.xyf.sys.mapper;

import com.xyf.sys.domain.OrderProfitsharingReceiver;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface OrderProfitsharingReceiverMapper {
    int deleteByPrimaryKey(Long id);

    int insert(OrderProfitsharingReceiver record);

    int insertSelective(OrderProfitsharingReceiver record);

    OrderProfitsharingReceiver selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(OrderProfitsharingReceiver record);

    int updateByPrimaryKey(OrderProfitsharingReceiver record);

    List<OrderProfitsharingReceiver> selectByOrderId(@Param("orderId") String orderId);
}